package cn.zhouchao.org.mapper;

import cn.zhouchao.basic.vo.EchartVo;
import cn.zhouchao.org.domain.Employee;
import cn.zhouchao.org.domain.Shop;
import cn.zhouchao.basic.mapper.BaseMapper;
import cn.zhouchao.org.vo.ShopStateAndCountVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhouchao
 * @since 2023-02-28
 */
public interface ShopMapper extends BaseMapper<Shop> {

    Shop findShopByNmaeAndAddress(@Param("name") String name,@Param("address") String address);

    Shop findAdminByEmpId(Long id);

    /*批量添加*/
    void batchAddShop(List<Shop> ShopList);


    List<EchartVo> echart();


}
